<?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: 麦当苗儿 <zuojiazi@vip.qq.com> <http://www.zjzit.cn>
// +----------------------------------------------------------------------

namespace Home\Controller;
use OT\DataDictionary;

/**
* 前台首页控制器
* 主要获取首页聚合数据
*/
class AboutController extends HomeController {

//系统首页
public function index(){
    $this->logo();
   $list = D('Document')->detail(14);
   $pic = explode(',', $list['pic']);
   $this->assign('pic',$pic);
   $this->assign('data',$list);
   $this->display("About/about");
}
public function logo(){
       $list2 = D('Document')->detail(35);
       $this->assign('logo',$list2);
}


}